![]() |
FSpMakeFSRef |
||||
Header: | Files.h | Carbon status: | Supported | |
Converts an FSSpec to an FSRef.
OSErr FSpMakeFSRef ( const FSSpec *source, FSRef *newRef );
The FSSpec which you wish to convert. This parameter must contain a valid FSSpec for an exisiting file or directory; if not, the call will return fnfErr.
On return, a pointer to the FSRef which the File Manager has constructed for the file or directory specified in the given FSSpec.
A result code.
To obtain an FSSpec from an FSRef, use the FSGetCatalogInfo call.
Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.
© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)